3.2473 \(\int \frac {1}{a+b x^n} \, dx\)

Optimal. Leaf size=24 \[ \frac {x \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a} \]

[Out]

x*hypergeom([1, 1/n],[1+1/n],-b*x^n/a)/a

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {245} \[ \frac {x \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*x^n)^(-1),x]

[Out]

(x*Hypergeometric2F1[1, n^(-1), 1 + n^(-1), -((b*x^n)/a)])/a

Rule 245

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, -((b*x^n)/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {1}{a+b x^n} \, dx &=\frac {x \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 24, normalized size = 1.00 \[ \frac {x \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^n)^(-1),x]

[Out]

(x*Hypergeometric2F1[1, n^(-1), 1 + n^(-1), -((b*x^n)/a)])/a

________________________________________________________________________________________

fricas [F]  time = 0.55, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {1}{b x^{n} + a}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n),x, algorithm="fricas")

[Out]

integral(1/(b*x^n + a), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{b x^{n} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n),x, algorithm="giac")

[Out]

integrate(1/(b*x^n + a), x)

________________________________________________________________________________________

maple [F]  time = 0.20, size = 0, normalized size = 0.00 \[ \int \frac {1}{b \,x^{n}+a}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x^n+a),x)

[Out]

int(1/(b*x^n+a),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{b x^{n} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x^n),x, algorithm="maxima")

[Out]

integrate(1/(b*x^n + a), x)

________________________________________________________________________________________

mupad [B]  time = 1.24, size = 25, normalized size = 1.04 \[ \frac {x\,{{}}_2{\mathrm {F}}_1\left (1,\frac {1}{n};\ \frac {1}{n}+1;\ -\frac {b\,x^n}{a}\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a + b*x^n),x)

[Out]

(x*hypergeom([1, 1/n], 1/n + 1, -(b*x^n)/a))/a

________________________________________________________________________________________

sympy [C]  time = 0.80, size = 32, normalized size = 1.33 \[ \frac {x \Phi \left (\frac {b x^{n} e^{i \pi }}{a}, 1, \frac {1}{n}\right ) \Gamma \left (\frac {1}{n}\right )}{a n^{2} \Gamma \left (1 + \frac {1}{n}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*x**n),x)

[Out]

x*lerchphi(b*x**n*exp_polar(I*pi)/a, 1, 1/n)*gamma(1/n)/(a*n**2*gamma(1 + 1/n))

________________________________________________________________________________________